auto merge of #614 : alexcrichton/cargo/issue-613, r=brson
authorbors <bors@rust-lang.org>
Mon, 22 Sep 2014 20:58:34 +0000 (20:58 +0000)
committerbors <bors@rust-lang.org>
Mon, 22 Sep 2014 20:58:34 +0000 (20:58 +0000)
commit262c794949b89dfd07bb9a78a0debfff5968d2ac
treef3b300e8492bcdd653a1033f8a6ec9db745ccb6a
parent6b0b853990daa412ca258076f74ae65edea79ea0
parentd1a332d19a6ae10ea84d9f99fb705276fcbffde3
auto merge of #614 : alexcrichton/cargo/issue-613, r=brson

As described in #613, this commit switches the semantics of `cargo update foo`
to updating *only* `foo`, not any of its dependencies. A new flag,
`--aggressive` was added to restore the old behavior.

The behavior of attempting to only unlock `foo`, and then if resolve fails
unlock all dependencies of `foo` is unimplemented as it's not super relevant
right now when the majority of dependencies are git dependencies and resolution
cannot fail for version-related reasons.

Closes #613
tests/test_cargo_compile_git_deps.rs